(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <intuition/classusr.h>
#include <proto/intuition.h>
IPTR SetAttrs()
SYNOPSIS
APTR object
ULONG tag1
...

FUNCTION
Changes several attributes of an object at the same time. How the object interprets the new attributes depends on the class.

INPUTS
object
Change the attributes of this object
value
pairs. The last attribute in this list must be TAG_END or TAG_DONE. The value for this last attribute is not examined (ie. you need not specify it).
RESULT
Depends in the class. For gadgets, this value is non-zero if they need redrawing after the values have changed. Other classes will define other return values.

NOTES
This function sends OM_SET to the object.

EXAMPLE
BUGS
SEE ALSO
NewObject(), DisposeObject(), GetAttr(), MakeClass(), "Basic Object-Oriented Programming System for Intuition" and "boopsi Class Reference" Dokument.
INTERNALS
HISTORY
02.04.1997 ldp
AROSfA: enable functions, define NO_INLINE_STDARG to disable inline handling of said functions
27.01.1997 ldp
Include proto instead of clib
04.12.1996 aros
The macros AROS_SLOWSTACKTAGS and AROS_SLOWSTACKMETHODS now use AROS_TAGRETURNTYPE and AROS_METHODRETURNTYPE to create a variable called retval in which the use suplied part of the function must store the return value. If these types are not defined, then the types default to IPTR.
28.11.1996 aros
A couple of new functions in amiga.lib

Easier code to handle stacktags and stackmethods.

25.11.1996 aros
Allow stacktags on special CPUs
17.09.1996 digulla
Same names for same parameters
28.08.1996 digulla
First step to implement amiga.lib BOOPSI Utility functions